# Contributor: Maartje Eyskens <maartje@eyskens.me>
# Maintainer: Maartje Eyskens <maartje@eyskens.me>
pkgname=shine
pkgver=3.1.1
pkgrel=0
pkgdesc="Shine: fast fixed-point mp3 encoding"
url="https://github.com/toots/shine"
arch="all"
license="LGPL-2.0"
depends=""
depends_dev=""
makedepends="$depends_dev libtool automake autoconf"
install=""
subpackages=""
source="https://github.com/toots/shine/releases/download/$pkgver/shine-$pkgver.tar.gz"

builddir="$srcdir"/shine-$pkgver
build() {
	cd "$builddir"
	autoreconf -f -i
	./configure --prefix /usr
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="ecd186eba299581e220fada2d3cc92ccbf69d8fe4db539b1d21ee565ef706fbbff015c013f9bb477b3326a71d06b5f6cbfed3371e1d75d62d642729245ec714d  shine-3.1.1.tar.gz"
